<table width="100%" style="padding-left:5px;line-height:2" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td height="10" colspan="3"></td>
</tr>
<tr>
	<td valign="top">
		 <div class='listmoduleleft'>
    		  <?php echo $listcatmodunle ?>
            </div>
	</td>
	<td width="78%"  valign="top">

<form method="post" name="form_admin" action="<?php echo formAction('updatestatus')?>">
<input type="hidden" name="id" value="<?echo $id?>" />
	<table width="100%" border="0" cellpadding="4" cellspacing="1" id="tblsort">
		<tr class="headtb" nodrop="true" nodrag="true">
			<td width="5%" ><?echo _ORDER?></td>
			<td width="20%" ><?echo _CATEGORYNAME?></td>
			<td width="10%" ><?echo _STATUS?></td>
			<td width="20%" ><?echo _ACTIONS?></td>
			<td>&nbsp;</td>
		</tr>
	<?
	foreach($categories as $i => $modunle)
	{
	?>
		<tr>
			<td align="center">
				<input class="ordertext" id="listorder_<?php echo $i?>" name="listorder[]"
				value="<?echo getOrderList($i)?>"/>
			</td>
			<td nowrap="nowrap" style="padding-left:10px" valign="middle">
                <strong><?php echo linkAction('edit',$modunle['cName'],'id='.$modunle['iId'])?></strong>
				<input type="hidden" name="listid[]" value="<?php echo $modunle['iId']?>" />
			</td>
			<td align="center">
				<select id="liststatus_<?php echo $i?>" name="liststatus[]">
					<?php echo liststatus($modunle["iStatus"]) ?>
				</select>
			</td>

			<td align="center">
				<?php echo linkAction('edit',Edit,'id='.$modunle['iId'])?> -
                <?php echo linkAction('delete',Delete,'id='.$modunle['iId'])?> 
			</td>
			<td></td>
		</tr>
	<?php
	}
	if(count($Modunles)==0)	
	{
	?>
		<tr nodrop="true" nodrag="true">
			<td colspan="5" align="center" style="color:#FF0000; font-weight:600">
			<?echo _NOTFOUND?>
			</td>
		</tr>
	<?
	}
	?>
	</table>
</form>

	</td>
</tr>
<tr>
	<td></td>
	<td><?php echo $show_page?></td>
</tr>
</table>
<script type="text/javascript">
(new TableDnD).init("tblsort");
</script>
